package tk.uodrad.apex.project.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.stereotype.Repository;
import tk.uodrad.apex.project.pojo.entity.People;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import tk.uodrad.apex.project.pojo.vo.PeopleListVO;

/**
* @author Administrator
* @description 针对表【people_management】的数据库操作Mapper
* @createDate 2023-03-23 19:57:33
* @Entity tk.uodrad.apex.project.pojo.entity.People
*/
@Repository
public interface PeopleMapper extends BaseMapper<People> {
    /**
     * 自定义分页查询
     * @param page IPage对象
     * @param communityCode 小区编号
     * */
    IPage<PeopleListVO> selectPageVo(IPage<?> page, String communityCode);

    /*
    * 根据ID查询所有数据
    * */
    Integer selectAllByIdInteger();
}




